package net.arogarth.aws.android.lib.models;

import java.util.ArrayList;
import java.util.List;

/**
 * The Model of a HostetZoneRecordSet
 * 
 * @see http://docs.amazonwebservices.com/Route53/latest/APIReference/
 * @author arogarth
 *
 */
public class HostetZoneRecordSet {
	
	/**
	 * Valid Types of DNS-Record
	 * @author arogarth
	 *
	 */
	public enum DnsType { A, AAAA, CNAME, MX, NS, PTR, SOA, SPF, SRV, TXT }
	
	private String name = "";
	private DnsType type;
	private String ttl = "";
	private String dnsName = "";
	private String setIdentifier = "";
	private String weight = "";
	private List<String> resourceRecords = new ArrayList<String>();
	private String hostedZoneId = "";
	
	public String getHostedZoneId() {
		return hostedZoneId;
	}
	public void setHostedZoneId(String hostedZoneId) {
		this.hostedZoneId = hostedZoneId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public DnsType getType() {
		return type;
	}
	public void setType(DnsType type) {
		this.type = type;
	}
	public String getTtl() {
		return ttl;
	}
	public void setTtl(String ttl) {
		this.ttl = ttl;
	}
	public String getDnsName() {
		return dnsName;
	}
	public void setDnsName(String dnsName) {
		this.dnsName = dnsName;
	}
	public String getSetIdentifier() {
		return setIdentifier;
	}
	public void setSetIdentifier(String setIdentifier) {
		this.setIdentifier = setIdentifier;
	}
	public String getWeight() {
		return weight;
	}
	public void setWeight(String weight) {
		this.weight = weight;
	}
	public List<String> getResourceRecords() {
		return resourceRecords;
	}
	public void setResourceRecords(List<String> resourceRecords) {
		this.resourceRecords = resourceRecords;
	}
}
